body,
html {
  /* w100p 这样就能够缩写 width: 100%;*/
  position: relative;
  width: 100%;
  height: 100%;
  background: url('/assets/images/login_bg.jpg') no-repeat top center;
  /* 背景图标全覆盖 */
  background-size: cover ;
}

.header {
  padding-left: 10px;
  padding-top: 20px;
}

.login-register {
  width: 400px;
  height: 310px;
  background-color: #fff;
  border-radius: 5px;
  position: absolute;
  /* 水平垂直居中 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 0 20px;
}

.login-register .title-box {
  height: 60px;
  background: url(/assets/images/login_title.png) no-repeat center center;
}

.login-register  .layui-btn {
  width: 100%;
  border-radius: 4px;
  background-color: #1890ff;
}

.login-register #loginBox .layui-form-item {
  margin-bottom: 25px;
}

.layui-form .layui-input {
  padding-left: 40px;
}


.login-register .pwd {
  position: relative;
}
.login-register .pwd label {
  position: absolute;
  top: 6px;
  right: 15px;
  width: 24px;
  height: 24px;
  background: url(/assets/images/close.png);
  background-size: cover;
}

.login-register .pwd label.active {
  background-image: url(/assets/images/open.png);
}

.login-register a {
  color: #1890ff;
}

.layui-form-item{
  position: relative;
}

.layui-icon{
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 20px;
}